home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1998 #2 / Amiga Plus CD - 1998 - No. 2.iso / pd / musik / eagleplayer2.00 / developer / include / misc / eagleplayerconverter.i < prev    next >
Text File  |  1997-08-26  |  2KB  |  81 lines

  1. **
  2. **  $Filename: misc/EaglePlayerConverter.i
  3. **  $Release: 2.00 $
  4. **  $Revision: 1$
  5. **  $Date: 24/02/97$
  6. **
  7. ** Definitions and Macros for creating EaglePlayer Noiseconvertermodules
  8. **
  9. **    (C) Copyright 1993-97 by DEFECT
  10. **        All Rights Reserved
  11. **
  12. **
  13.  
  14.     IFND    EAGLEPLAYERCONVERTER_I
  15. EAGLEPLAYERCONVERTER_I    SET    1
  16.  
  17.  
  18.     IFND EXEC_PORTS_I
  19.         INCLUDE "exec/ports.i"
  20.     ENDC
  21.  
  22.     IFND EXEC_TYPES_I
  23.         INCLUDE "exec/types.i"
  24.     ENDC
  25.  
  26.     IFND UTILITY_TAGITEM_I
  27.         INCLUDE "utility/tagitem.i"
  28.     ENDC
  29.  
  30.  
  31. CONVERTERVERSION EQU    1            ;Current Version of Converter
  32. SecurityMem     EQU    2000
  33.  
  34. *------------------------------ Convertertags --------------------------------*
  35. CV_TagBase    EQU    TAG_USER+"EC"
  36.  
  37.  
  38.     ENUM    CV_TagBase        ;EaglePlayer-TagBase
  39.  
  40.     EITEM    CV_Convertername
  41.     EITEM    CV_Convert        ;Ptr to ConvertCode
  42.                     * Input: a0=Adr der Datei
  43.                     *     d0=Size der Datei
  44.                     * Output:d0=ConvertSize oder NULL
  45.                     *     d1=Flags
  46.                     *     d2=MemSize
  47.                     *     a0=ConvertAdr
  48.                     *     a1=Formatname
  49.                     *     a2=SamplePtr (für Protrackerclones) oder NULL
  50.  
  51.     EITEM    CV_Version        ;Version of Converter
  52.     EITEM    CV_RequestConverter    ;Requested Version of Noiseconverter
  53.     EITEM    CV_EagleBase
  54.     EITEM    CV_Creator
  55.     EITEM    CV_Flags
  56.     EITEM    CV_Next            * Ptr to next Convertertaglist
  57.                     * of converted module
  58.  
  59.     ;end of converterdefinition
  60.  
  61.  
  62.  
  63. ; --- various flags, returned by CV_Convert in d1
  64.  
  65.     BITDEF    CV,FreeOriginal,0        ; free original data
  66.  
  67.  
  68.  
  69. *----------------------------- Converterheader -----------------------------*
  70. CONVERTERHEADER MACRO
  71.     moveq    #-1,d0                ; this should return an error
  72.     rts                    ; in case someone tried to
  73.                         ; run it
  74.     dc.l    \1                ; Ptr to Taglist
  75.     dc.b    "EP_CONVERTERMODULE",0,0    ; identifier
  76.     ENDM
  77.  
  78.  
  79.     ENDC    ; EAGLEPLAYERCONVERTER_I
  80.  
  81.